<script type="text/html" id="headbar">
	<a href="http://code.google.com/p/kwestion/" target="_blank"><img src="kwestion_link.png" /></a> 
	<a href="#" onclick="setdescription();return false;">${myname}</a>
	<em>${statuses_count}</em> 
	<span onclick="toolbarcollapse(this); return false;" id="toolbarcollapse">{{if getCookie('toolbarcollapse')=='yes'}}&raquo;{{else}}&laquo;{{/if}}</span>
	<span {{if getCookie('toolbarcollapse')=='yes'}}class="toolbar_collapse"{{/if}}>
		<a href="#" onclick="opentab('follower','${myname}'); return false;">Follower</a><em>${followers_count}</em> 
		<a href="#" onclick="opentab('following','${myname}'); return false;">Following</a><em>${friends_count}</em>
		</span>	
	{{if window.webkitNotifications}}<a href="#" style="color:#ffff00;" onclick="requestnotify();return false;">SetNotify</a> {{/if}} 
	<a href="#" onclick="loadsetting(this); return false;" id="loadsettingbutton">Plugins</a> <a href="index.php" onclick="logout();">Logout</a>
</script>

<script type="text/html" id="rtdialog">
	<div class="s_clear" style="margin:3px;">
		<div class="s_clear" style="text-align:center;">
			<textarea id="rtmsg" class="msginputbox" style="width:300px;height:60px;"></textarea>
		</div>
		<div style="padding:5px;">
			(<span id="rtmsgcount"></span>) 
			<a href="#" class="a_button" id="rtbutton">Classic Retweet</a> or 
			<a href="#" class="a_button" id="ortbutton">Official Retweet</a>
		</div>
	</div>
</script>

<script type="text/html" id="threads">
	<div class="s_clear" style="border:1px dotted #ccc;{{if bold}}font-weight:bold;{{/if}}">
		<img class="people_op" width="24" height="24" alt="${from.screen_name}" src="${from.profile_image_url}" />
		${from.screen_name}: {{html parsetext(text)}}
	</div>
</script>

<script type="text/html" id="userinfo">
	{{if screen_name!=myname}}
	<div><a href='#' class='button' onclick='follow(this,"${screen_name}"); return false;'>{{if following}}Unfollow{{else}}Follow{{/if}}</a></div>
	{{/if}}
	<div>Bio: ${description}</div>
	<div>${screen_name}(${name}) has ${statuses_count} tweets, <a href="#" class="button" onclick="opentab('follower','${screen_name}')">${followers_count}</a> follower. He/she is following<a href="#" class="button" onclick="opentab('following','${screen_name}')">${friends_count}</a>people.</div>
	<div>URL: <a href="${url}" target="_blank">${url}</a></div>
</script>


